Platform Explorer / Nuxeo Platform 6.0

Contribution studio.extensions.nuxeo-routing-default--layouts

This contribution is part of XML component studio.extensions.nuxeo-routing-default inside nuxeo-routing-default-6.0.jar

Extension Point

Extension point layouts of component WebLayoutManager.

Contributed Items

  • <layout name="Task2169@taskLayout">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>review_result</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>comment</widget>
            </row>
          </rows>
          <widget name="review_result" type="htmltext">
            <labels>
              <label mode="any">wf.parallelDocumentReview.consolidate.form.review_brief</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>['review_result']</field>
            </fields>
            <widgetModes>
              <mode value="edit">view</mode>
            </widgetModes>
          </widget>
          <widget name="comment" type="textarea">
            <labels>
              <label mode="any">wf.parallelDocumentReview.comment</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>['comment']</field>
            </fields>
          </widget>
        </layout>
  • <layout name="Task2556@taskLayout">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>participants</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>comment</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>end_date</widget>
            </row>
          </rows>
          <widget name="participants" type="multipleUsersSuggestion">
            <labels>
              <label mode="any">wf.parallelDocumentReview.ParticipantsOnTheReview</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>['participants']</field>
            </fields>
            <properties widgetMode="edit">
              <property name="orderable">true</property>
              <property name="placeholder">label.security.search</property>
              <property name="width">70%</property>
              <property name="prefixed">true</property>
              <property name="required">#{request.getParameter('button') == 'start_review'}</property>
            </properties>
          </widget>
          <widget name="comment" type="textarea">
            <labels>
              <label mode="any">wf.parallelDocumentReview.comment</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>['comment']</field>
            </fields>
          </widget>
          <widget name="end_date" type="datetime">
            <labels>
              <label mode="any">wf.parallelDocumentReview.endDate</label>
            </labels>
            <helpLabels>
              <label mode="any">wf.parallelDocumentReview.endDate.help</label>
            </helpLabels>
            <translated>true</translated>
            <fields>
              <field>['end_date']</field>
            </fields>
            <properties widgetMode="edit">
              <property name="required">#{request.getParameter('button') == 'start_review'}</property>
            </properties>
          </widget>
        </layout>
  • <layout name="Task328d@taskLayout">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>initiatorComment</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>comment</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget/>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget/>
            </row>
          </rows>
          <widget name="initiatorComment" type="textarea">
            <labels>
              <label mode="any">wf.parallelDocumentReview.initiatorComment</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>['initiatorComment']</field>
            </fields>
            <widgetModes>
              <mode value="edit">view</mode>
            </widgetModes>
          </widget>
          <widget name="comment" type="textarea">
            <labels>
              <label mode="any">wf.parallelDocumentReview.reviewerComment</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>['comment']</field>
            </fields>
          </widget>
        </layout>
  • <layout name="Task38e@taskLayout">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>participants</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>validationOrReview</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>comment</widget>
            </row>
          </rows>
          <widget name="participants" type="multipleUsersSuggestion">
            <labels>
              <label mode="any">wf.serialDocumentReview.ParticipantsOnTheReview</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>['participants']</field>
            </fields>
            <properties widgetMode="edit">
              <property name="orderable">true</property>
              <property name="placeholder">label.security.search</property>
              <property name="width">70%</property>
              <property name="helpLabel">wf.serialDocumentReview.ParticipantsOnTheReview.order</property>
              <property name="prefixed">true</property>
              <property name="required">#{request.getParameter('button') == 'start_review'}</property>
            </properties>
          </widget>
          <widget name="validationOrReview" type="selectOneDirectory">
            <labels>
              <label mode="any">wf.serialDocumentReview.validationOrSimpleReview</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>['validationOrReview']</field>
            </fields>
            <widgetModes>
              <mode value="edit">#{currentDocument. currentLifeCycleState =='project'?'edit':'hidden'}</mode>
            </widgetModes>
            <properties widgetMode="edit">
              <property name="localize">true</property>
              <property name="directoryName">WorkflowType</property>
              <property name="required">#{request.getParameter('button') == 'start_review'}</property>
            </properties>
            <properties widgetMode="view">
              <property name="localize">true</property>
              <property name="directoryName">WorkflowType</property>
            </properties>
          </widget>
          <widget name="comment" type="textarea">
            <labels>
              <label mode="any">wf.serialDocumentReview.comment</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>['comment']</field>
            </fields>
          </widget>
        </layout>
  • <layout name="Task542@taskLayout">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget/>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget/>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget/>
            </row>
          </rows>
        </layout>
  • <layout name="Task6d8@taskLayout">
          <templates>
            <template mode="any">/layouts/layout_default_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>participants</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>initiatorComment</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_colspan_0">1</property>
              </properties>
              <widget>comment</widget>
            </row>
          </rows>
          <widget name="participants" type="multiplePrefixedUsersSuggestion">
            <labels>
              <label mode="any">wf.serialDocumentReview.ParticipantsOnTheReview</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>['participants']</field>
            </fields>
            <widgetModes>
              <mode value="edit">view</mode>
            </widgetModes>
          </widget>
          <widget name="initiatorComment" type="textarea">
            <labels>
              <label mode="any">wf.serialDocumentReview.InitiatorComment</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>['initiatorComment']</field>
            </fields>
            <widgetModes>
              <mode value="edit">view</mode>
            </widgetModes>
          </widget>
          <widget name="comment" type="textarea">
            <labels>
              <label mode="any">wf.serialDocumentReview.YourComment</label>
            </labels>
            <translated>true</translated>
            <fields>
              <field>['comment']</field>
            </fields>
          </widget>
        </layout>

XML Source

<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    <layout name="Task2169@taskLayout">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>review_result</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>comment</widget>
        </row>
      </rows>
      <widget name="review_result" type="htmltext">
        <labels>
          <label mode="any">wf.parallelDocumentReview.consolidate.form.review_brief</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['review_result']</field>
        </fields>
        <widgetModes>
          <mode value="edit">view</mode>
        </widgetModes>
      </widget>
      <widget name="comment" type="textarea">
        <labels>
          <label mode="any">wf.parallelDocumentReview.comment</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['comment']</field>
        </fields>
      </widget>
    </layout>
    <layout name="Task2556@taskLayout">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>participants</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>comment</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>end_date</widget>
        </row>
      </rows>
      <widget name="participants" type="multipleUsersSuggestion">
        <labels>
          <label mode="any">wf.parallelDocumentReview.ParticipantsOnTheReview</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['participants']</field>
        </fields>
        <properties widgetMode="edit">
          <property name="orderable">true</property>
          <property name="placeholder">label.security.search</property>
          <property name="width">70%</property>
          <property name="prefixed">true</property>
          <property name="required">#{request.getParameter('button') == 'start_review'}</property>
        </properties>
      </widget>
      <widget name="comment" type="textarea">
        <labels>
          <label mode="any">wf.parallelDocumentReview.comment</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['comment']</field>
        </fields>
      </widget>
      <widget name="end_date" type="datetime">
        <labels>
          <label mode="any">wf.parallelDocumentReview.endDate</label>
        </labels>
        <helpLabels>
          <label mode="any">wf.parallelDocumentReview.endDate.help</label>
        </helpLabels>
        <translated>true</translated>
        <fields>
          <field>['end_date']</field>
        </fields>
        <properties widgetMode="edit">
          <property name="required">#{request.getParameter('button') == 'start_review'}</property>
        </properties>
      </widget>
    </layout>
    <layout name="Task328d@taskLayout">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>initiatorComment</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>comment</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget/>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget/>
        </row>
      </rows>
      <widget name="initiatorComment" type="textarea">
        <labels>
          <label mode="any">wf.parallelDocumentReview.initiatorComment</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['initiatorComment']</field>
        </fields>
        <widgetModes>
          <mode value="edit">view</mode>
        </widgetModes>
      </widget>
      <widget name="comment" type="textarea">
        <labels>
          <label mode="any">wf.parallelDocumentReview.reviewerComment</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['comment']</field>
        </fields>
      </widget>
    </layout>
    <layout name="Task38e@taskLayout">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>participants</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>validationOrReview</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>comment</widget>
        </row>
      </rows>
      <widget name="participants" type="multipleUsersSuggestion">
        <labels>
          <label mode="any">wf.serialDocumentReview.ParticipantsOnTheReview</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['participants']</field>
        </fields>
        <properties widgetMode="edit">
          <property name="orderable">true</property>
          <property name="placeholder">label.security.search</property>
          <property name="width">70%</property>
          <property name="helpLabel">wf.serialDocumentReview.ParticipantsOnTheReview.order</property>
          <property name="prefixed">true</property>
          <property name="required">#{request.getParameter('button') == 'start_review'}</property>
        </properties>
      </widget>
      <widget name="validationOrReview" type="selectOneDirectory">
        <labels>
          <label mode="any">wf.serialDocumentReview.validationOrSimpleReview</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['validationOrReview']</field>
        </fields>
        <widgetModes>
          <mode value="edit">#{currentDocument. currentLifeCycleState =='project'?'edit':'hidden'}</mode>
        </widgetModes>
        <properties widgetMode="edit">
          <property name="localize">true</property>
          <property name="directoryName">WorkflowType</property>
          <property name="required">#{request.getParameter('button') == 'start_review'}</property>
        </properties>
        <properties widgetMode="view">
          <property name="localize">true</property>
          <property name="directoryName">WorkflowType</property>
        </properties>
      </widget>
      <widget name="comment" type="textarea">
        <labels>
          <label mode="any">wf.serialDocumentReview.comment</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['comment']</field>
        </fields>
      </widget>
    </layout>
    <layout name="Task542@taskLayout">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget/>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget/>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget/>
        </row>
      </rows>
    </layout>
    <layout name="Task6d8@taskLayout">
      <templates>
        <template mode="any">/layouts/layout_default_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>participants</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>initiatorComment</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_colspan_0">1</property>
          </properties>
          <widget>comment</widget>
        </row>
      </rows>
      <widget name="participants" type="multiplePrefixedUsersSuggestion">
        <labels>
          <label mode="any">wf.serialDocumentReview.ParticipantsOnTheReview</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['participants']</field>
        </fields>
        <widgetModes>
          <mode value="edit">view</mode>
        </widgetModes>
      </widget>
      <widget name="initiatorComment" type="textarea">
        <labels>
          <label mode="any">wf.serialDocumentReview.InitiatorComment</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['initiatorComment']</field>
        </fields>
        <widgetModes>
          <mode value="edit">view</mode>
        </widgetModes>
      </widget>
      <widget name="comment" type="textarea">
        <labels>
          <label mode="any">wf.serialDocumentReview.YourComment</label>
        </labels>
        <translated>true</translated>
        <fields>
          <field>['comment']</field>
        </fields>
      </widget>
    </layout>
  </extension>